ArcPad Layer Definition File Schema
QUERYBUILDER Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema > ArcPad Element > LAYER Element > FIND Element : QUERYBUILDER Element

Glossary Item Box

Description

Parent tag for query fragments in an ArcPad layer definition.

Diagram

QUERYFRAGMENT Element Sequence QUERYBUILDER Element

Overview

QUERYBUILDER
Parent tag for query fragments in an ArcPad layer definition.
Sequence
QUERYFRAGMENT 1..∞
Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).
field required xs:string
fragmentoperator optional Restriction of xs:string
The operator used to link the next query fragment to this one.
operator optional Restriction of xs:string
The comparison operator to apply to the field.
value optional xs:string
The comparison term for the query fragment.

Source

<xs:element name="QUERYBUILDER" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Parent tag for query fragments in an ArcPad layer definition.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="QUERYFRAGMENT" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute use="required" ref="field">
            <xs:annotation>
              <xs:documentation>The attribute field in the layer that the queryfragment applies to.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="fragmentoperator" default="AND">
            <xs:annotation>
              <xs:documentation>The operator used to link the next query fragment to this one.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="AND" />
                <xs:enumeration value="OR" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="operator" default="=">
            <xs:annotation>
              <xs:documentation>The comparison operator to apply to the field.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="=" />
                <xs:enumeration value="&lt;&gt;" />
                <xs:enumeration value="&lt;" />
                <xs:enumeration value="&lt;=" />
                <xs:enumeration value="&gt;" />
                <xs:enumeration value="&gt;=" />
                <xs:enumeration value="=*" />
                <xs:enumeration value="*=" />
                <xs:enumeration value="*=*" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="value" type="xs:string">
            <xs:annotation>
              <xs:documentation>The comparison term for the query fragment.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.